Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gui fixes and added fusesource client to jar #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

goetzchr
Copy link

I accidently stumbled over your MQTT jmeter plugin and tried it out. It works good after fixing the following 2 little issues.

  1. It seems the Fusesource Client is not included in the built jar file, so I added the Maven Shade Plugin to do so
  2. Their was a bug in the GUI, because when switching windows the client id and OneConnectionPerTopic fields were emptied

@varhekarhemant
Copy link

Hi , Could you share the updated MQTT-Jmeter.jar

@goetzchr
Copy link
Author

Hi, I don't have the jar available, but you can built it from the code.

@varhekarhemant
Copy link

Hi I tried to build the jar with the changes you did in the existing mqtt- Jmeter plugin.My build is failed with the below exceptions can you please suggest.

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:26 min
[INFO] Finished at: 2015-07-06T12:48:24+05:30
[INFO] Final Memory: 24M/156M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:2.0:s
hade (default) on project mqtt-jmeter: Execution default of goal org.apache.mave
n.plugins:maven-shade-plugin:2.0:shade failed: A required class was missing whil
e executing org.apache.maven.plugins:maven-shade-plugin:2.0:shade: org/sonatype/
aether/version/VersionConstraint
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.apache.maven.plugins:maven-shade-plugin:2.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/hemant.varhekar/.m2/repository/org/apache/maven
/plugins/maven-shade-plugin/2.0/maven-shade-plugin-2.0.jar
[ERROR] urls[1] = file:/C:/Users/hemant.varhekar/.m2/repository/org/sonatype/sis
u/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
[ERROR] urls[2] = file:/C:/Users/hemant.varhekar/.m2/repository/org/sonatype/sis
u/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
[ERROR] urls[3] = file:/C:/Users/hemant.varhekar/.m2/repository/org/sonatype/aet
her/aether-util/1.7/aether-util-1.7.jar
[ERROR] urls[4] = file:/C:/Users/hemant.varhekar/.m2/repository/org/codehaus/ple
xus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
[ERROR] urls[5] = file:/C:/Users/hemant.varhekar/.m2/repository/org/codehaus/ple
xus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
[ERROR] urls[6] = file:/C:/Users/hemant.varhekar/.m2/repository/org/sonatype/ple
xus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[7] = file:/C:/Users/hemant.varhekar/.m2/repository/org/sonatype/ple
xus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[8] = file:/C:/Users/hemant.varhekar/.m2/repository/junit/junit/3.8.
1/junit-3.8.1.jar
[ERROR] urls[9] = file:/C:/Users/hemant.varhekar/.m2/repository/org/codehaus/ple
xus/plexus-utils/3.0.1/plexus-utils-3.0.1.jar
[ERROR] urls[10] = file:/C:/Users/hemant.varhekar/.m2/repository/asm/asm/3.3.1/a
sm-3.3.1.jar
[ERROR] urls[11] = file:/C:/Users/hemant.varhekar/.m2/repository/asm/asm-commons
/3.3.1/asm-commons-3.3.1.jar
[ERROR] urls[12] = file:/C:/Users/hemant.varhekar/.m2/repository/asm/asm-tree/3.
3.1/asm-tree-3.3.1.jar
[ERROR] urls[13] = file:/C:/Users/hemant.varhekar/.m2/repository/org/jdom/jdom/1
.1/jdom-1.1.jar
[ERROR] urls[14] = file:/C:/Users/hemant.varhekar/.m2/repository/org/apache/mave
n/shared/maven-dependency-tree/2.0/maven-dependency-tree-2.0.jar
[ERROR] urls[15] = file:/C:/Users/hemant.varhekar/.m2/repository/backport-util-c
oncurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
[ERROR] urls[16] = file:/C:/Users/hemant.varhekar/.m2/repository/org/vafer/jdepe
ndency/0.7/jdependency-0.7.jar
[ERROR] urls[17] = file:/C:/Users/hemant.varhekar/.m2/repository/commons-io/comm
ons-io/1.3.2/commons-io-1.3.2.jar
[ERROR] urls[18] = file:/C:/Users/hemant.varhekar/.m2/repository/asm/asm-analysi
s/3.2/asm-analysis-3.2.jar
[ERROR] urls[19] = file:/C:/Users/hemant.varhekar/.m2/repository/asm/asm-util/3.
2/asm-util-3.2.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------: org.sonatype.aeth
er.version.VersionConstraint
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/AetherClassNot
Found
C:\Users\hemant.varhekar\Desktop\Personal\mqtt-jmeter-master\mqtt-jmeter-master>
^V

@brijesh01
Copy link

Hi I am trying with Jmeter MQTT Subscriber Plugin
In MQTT subscriber log files its is displayed as received 0 message but the proper message should be received 1 message.Can anybody help regarding this.?

Even I have tried in Command line but MQTT subscriber is not working...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants